package com.tenbent.product.center.example.stu.bo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tenbent.product.base.bo.BizObject;
import com.tenbent.product.base.mybatis.annotations.TypeAlias;

/**
 *
 *
 * Created by ThinkPad on 2017/7/27.
 */
@Entity
@Table(name = "student")
@TypeAlias("student")
public class Student extends BizObject {

	@Column
	private String name;

	@Column
	private Integer age;

	@Column(name = "dept_id")
	private Integer deptId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
}
